
  <footer id="footer">
	
	<div class="news">
		<div class="ntit">
			<a href="#" title="Новости"><img src="<?php echo $design_path;?>/images/h-news.png" alt="Новости"></a>
		</div>
		<div class="clarfix"></div>
			<?php
				$rnme="news";
				$maurl="news";
				$rnme_url="news";
				
				$lit[0]=0;
				$lit[1]=5;
				//$lit="";
					
				$oder=" - newdate";
				//$CatID=$def_CatID;
				$CaD="";
					
				$Neata = GetElementsByCatID($rnme, $CaD, $oder, $lit);
				//print_r($Neata);
				//echo('123');
				//$NewsData = GetElementsByCatArray($rname, $CatID, $order, $limit);
				if (!empty($Neata))	{
				//$num=count($NewsData);
				$i=1;
				
				foreach ($Neata as $Nwus) {
					?>
			<div class="new">
				<img src="<?php echo $design_path;?>/images/marker-news.png" alt="">
				<a title="<?php echo($Nwus['title'])?>" href="/news/<?php echo($Nwus['ID'])?>.html"><?php 
				echo substr($Nwus['title'], 0, 75)."..."; 
				//echo($Nwus['title'])?></a>
				<span style="float:right;"><?php echo(mydate($Nwus['newdate'],4));?></span>
			</div>
			<?php
				}//foreach
				}//!empty
				?>	
			
		
		
	</div>
	<div class="adress">
		<div class="adtit"><a href="#" title="Наш адрес"><img src="<?php echo $design_path;?>/images/h-adress.png" alt="Наш адрес"></a></div>
		<div class="clarfix"></div>
		<div class="adrline">
			<span class="adname">Город:</span> <span class="adval">Раменское</span>
		</div>
		<div class="adrline">
			<span class="adname">Улица:</span> <span class="adval">Махова д. 6</span>
		</div>
		<div class="adrline">
			<span class="adname">Телефон:</span> <span class="adval">+7 (496) 46-773-19</span>
		</div>
		<!--
		<div class="adrline" style="border-bottom:1px solid #232629;">
			<span class="adname">Email:</span> <span class="adval"><a href="mailto:info@ramelectro.ru" style="color:#c9c9c9;">info@ramelectro.ru</a></span>
		</div>
		-->
		<br/><br/><br/>
	</div>	
	<div class="search">
		<div class="srchtit"><a href="#" title="Поиск по сайту"><img src="<?php echo $design_path;?>/images/h-search.png" alt="Поиск по сайту"></a></div>
		<!--  -->
		<form id="search" action="/site/search/"  method="GET"> 
        	<input type="text" name="word" class="stext" value="Искать на сайте" onblur="if(this.value=='') this.value='Искать на сайте';" onfocus="if(this.value=='Искать на сайте') this.value=''" /> 
			<input class="btn" onclick="" type="image" src="<?php echo $design_path;?>/images/search-submit.jpg" title="Найти на сайте"> 
		</form>
		
	</div>
	
	
	<div class="clearfix"></div>
	<div class="copy">
	© 2011 by Раменская электрика. Все права защищены<br/>
	© Сайт разработан в 2011 году 
	</div>
	
	
	
  </footer>
 </div>
 
 <script type="text/javascript">
 $('#header').corner("15px");
 $('#slider').corner("15px");
 $('#docs').corner("15px");
 $('#vopros').corner("15px");
 $('#inbody').corner("15px");
 $('#footer').corner("15px");
 $('.iinfo').corner("5px");
  $('.otziv').corner('8px');
 $('.otzansw').corner('8px');
 
 $('.newsc').corner('8px');
 
 
 </script>
 
 <script type="text/javascript">

$(document).ready(function() {
	$("a.fancy").fancybox();
});


</script>
 
 
<script type="text/javascript">



function FormClick2 () {

var str = $("#otzform").serialize();

$.post("/ajax/add-otz.php", str, function(data) {

$("#otresult").css("display","block");

$("#otresult").html(data);

});

}



</script>

<script> 
 $("#verifed").html("<input type=\"hidden\" name=\"verifed\" value=\"ok\">");
  
</script> 

 
  <!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
       mathiasbynens.be/notes/async-analytics-snippet -->
  <!--
  <script>
    var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview'],['_trackPageLoadTime']];
    (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
    g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
    s.parentNode.insertBefore(g,s)}(document,'script'));
  </script>
  
 -->
 
<?php
/*
 <!--[if lt IE 9]>
    <script src="<?php echo $design_path;?>http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
*/
?>
 
  <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
       chromium.org/developers/how-tos/chrome-frame-getting-started -->
  <!--[if lt IE 7 ]>
    <script defer src="<?php echo $design_path;?>//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
    <script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
  <![endif]-->